package com.wan.service;

import com.wan.entity.Staff;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wan.until.PageResult;
import com.wan.vo.StaffVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sf
 * @since 2025-01-11
 */
public interface IStaffService extends IService<Staff> {

    PageResult<Staff> findByPage(Integer page, Integer pageSize);

    PageResult<Staff> search(Integer page, Integer pageSize, StaffVO vo);

    boolean add(Staff staff);
}
